package com.soda.service;

import java.util.List;

import com.soda.bean.Industry;
import com.soda.util.PageInfo;
import com.soda.util.SelectIndustryInfo;


public interface IndustryService {
	 //全查
	Industry showAllIndustry(int id);
		//模糊查询+分页2
		List<Industry> getIndustry(SelectIndustryInfo sdi, PageInfo pi);
		//查询信息有几条
	 
		int getIndustryCount(SelectIndustryInfo sdi);
		//删除
		int deleteById(int id);
		//修改
		
		int updateIndustry(int id, int recommend, String neirong);	
		//增加
		int addIndustry(Industry ids);
		
		//批量删除
		int delAllIndustry(String[] list);
		//导出
		List<Industry> exportIndustry(String[] count);
		//修改状态
		int updateStateNews(int newId, int state);
}
